package com.cennavi.minemap.bean;

import java.util.List;


public class UserSourceBean {
	private Integer userId;
	private List<Integer> sourceIds;
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public List<Integer> getSourceIds() {
		return sourceIds;
	}
	public void setSourceIds(List<Integer> sourceIds) {
		this.sourceIds = sourceIds;
	}
//	public static void main(String[] args) throws JsonParseException, JsonMappingException, IOException{
//		ObjectMapper objectMapper = new ObjectMapper();
		
//		JavaType javaType = objectMapper.getTypeFactory().constructParametricType(ArrayList.class, Integer.class); 
		
//		String json = "{\"userId\":1,\"sourceIds\":[1,2,3,4,5]}";
//		
//		
//		UserSourceBean userSourceBean = objectMapper.readValue(json, UserSourceBean.class);
//		System.out.println(userSourceBean);
//	}
	
}
